package com.hmall.model;

import javax.persistence.Column;
import javax.persistence.Id;
import javax.persistence.Table;

@Table(name = "sys_user_certification")
public class SysUserCertification {
    /**
     * 实名认证表id
     */
    @Id
    private Integer id;

    @Column(name = "user_id")
    private Integer userId;

    @Column(name = "id_number")
    private String idNumber;

    @Column(name = "id_face_url")
    private String idFaceUrl;

    @Column(name = "id_back_url")
    private String idBackUrl;

    /**
     * 0:申请中  1:申请通过  2:申请失败
     */
    @Column(name = "is_pass")
    private Integer isPass;

    /**
     * 获取实名认证表id
     *
     * @return id - 实名认证表id
     */
    public Integer getId() {
        return id;
    }

    /**
     * 设置实名认证表id
     *
     * @param id 实名认证表id
     */
    public void setId(Integer id) {
        this.id = id;
    }

    /**
     * @return user_id
     */
    public Integer getUserId() {
        return userId;
    }

    /**
     * @param userId
     */
    public void setUserId(Integer userId) {
        this.userId = userId;
    }

    /**
     * @return id_number
     */
    public String getIdNumber() {
        return idNumber;
    }

    /**
     * @param idNumber
     */
    public void setIdNumber(String idNumber) {
        this.idNumber = idNumber;
    }

    /**
     * @return id_face_url
     */
    public String getIdFaceUrl() {
        return idFaceUrl;
    }

    /**
     * @param idFaceUrl
     */
    public void setIdFaceUrl(String idFaceUrl) {
        this.idFaceUrl = idFaceUrl;
    }

    /**
     * @return id_back_url
     */
    public String getIdBackUrl() {
        return idBackUrl;
    }

    /**
     * @param idBackUrl
     */
    public void setIdBackUrl(String idBackUrl) {
        this.idBackUrl = idBackUrl;
    }

    /**
     * 获取0:申请中  1:申请通过  2:申请失败
     *
     * @return is_pass - 0:申请中  1:申请通过  2:申请失败
     */
    public Integer getIsPass() {
        return isPass;
    }

    /**
     * 设置0:申请中  1:申请通过  2:申请失败
     *
     * @param isPass 0:申请中  1:申请通过  2:申请失败
     */
    public void setIsPass(Integer isPass) {
        this.isPass = isPass;
    }
}